import * as API from "@/api/api";

//媒体-其他项目
export default {
    getMediumOtherProjectList: params => {
        return API.POST("/user/getMediumOtherProjectList", params, null, 1);
    },
    doAddMediumOtherProject: params => {
        return API.POST("/user/doAddMediumOtherProject", params, null, 1);
    },
    doEditMediumOtherProject: params => {
        return API.POST("/user/doEditMediumOtherProject", params, null, 1);
    },
    doDelMediumOtherProject: params => {
        return API.POST("/user/doDelMediumOtherProject", params, null, 1);
    },
    doAddMediumOtherProjectFromCal: params => {
        return API.POST("/user/doAddMediumOtherProjectFromCal", params, null, 1);
    },
    getAllProjectByYiHuoAndMedium: params => {
        return API.POST("/user/getAllProjectByYiHuoAndMedium", params, null, 1);
    },
    doSureMediumOtherProject: params => {
        return API.POST("/user/doSureMediumOtherProject", params, null, 1);
    },
    doExportMediumDate: params => {
        return API.POSTFILE("/user/doExportMediumDate", params, "application/json", true);
    },
    doExportMediumDateCount: params => {
        return API.POSTFILE("/user/doExportMediumDateCount", params, "application/json", true);
    },
    doUpdateMediumUser: params => {
        return API.POST("/user/doUpdateMediumUser", params);
    },
};
